package com.tang.repository;

import com.tang.entity.Borrow;
import com.tang.entity.Review;

import java.util.List;

/**
 * @author tang
 * @create 2020-08-18
 */
public interface BorrowRepository {
    public void addborrow(int readId , int bookId,String borrowtime ,String returntime);
    public List<Borrow> query(int readId);
    public List<Review> reviewQuery();
    public List<Review> returnQuery();
    public void handle(int id,int adminId,int state);
}
